<?php
/**
 * Created by PhpStorm.
 * User: zhan
 * Date: 2017/11/9  19:25
 */
namespace app\api\controller;
use app\api\controller\Base;

class Index extends Base{


    /**
     * 关于我们
     */
        public function about()
        {
            $result =  (new \app\api\logic\Index())->about();
            return $this->ajaxReturn($result);
        }
    /**
     * 轮播图
     */
    public function banner()
    {
        $result =  (new \app\api\logic\Index())->banner();
        return $this->ajaxReturn($result);
    }

    /**
     * 图文
     */
    public function article()
    {
        $result =  (new \app\api\logic\Index())->article();
        return $this->ajaxReturn($result);
    }
    /**
     * 图文详情
     */
    public function detail()
    {
        $result =  (new \app\api\logic\Index())->detail();
        return $this->ajaxReturn($result);
    }

    /**
     * 首页精品推荐
     */
    public function boutique()
    {
        $result =  (new \app\api\logic\Index())->boutique();
        return $this->ajaxReturn($result);
    }
    /**
     * 精品推荐列表
     */
    public function blist()
    {
        $result =  (new \app\api\logic\Index())->blist();
        return $this->ajaxReturn($result);
    }
    /**
     * 取消规则
     */
    public function rule()
    {
        $result =  (new \app\api\logic\Index())->rule();
        return $this->ajaxReturn($result);
    }
    /**
     * 咨询电话
     */
    public function tell()
    {
        $result =  (new \app\api\logic\Index())->tell();
        return $this->ajaxReturn($result);
    }
    /**
     * 积分兑换比例
     */
    public function credit()
    {
        $result =  (new \app\api\logic\Index())->credit();
        return $this->ajaxReturn($result);
    }
}